import React from "react";

export default class {
    componentFunc:(()=>React.Component<any, any>)|any;
    title?: string;
    leftBtn?: React.Component<any, any>;
    rightBtn?: React.Component<any, any>;
    constructor(
        componentFunc:(()=>React.Component<any, any>)|any,
        title = '',
        leftBtn?,
        rightBtn?,
    ) {
        this.componentFunc = componentFunc;
        this.title = title;
        this.leftBtn = leftBtn;
        this.rightBtn = rightBtn;
    }
}
